package com.corpgovernment.travelstandard.vo.airport;

import com.corpgovernment.travelstandard.vo.CityControl;
import com.corpgovernment.travelstandard.vo.ModelControlVO;
import com.corpgovernment.travelstandard.vo.PriceControlVO;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

/**
 * @author jhxue
 * @create 2022-05-13-13:58
 */
@Data
public class SaveAirportTransferControlRequestVO {
	/**
	 * 差标名
	 */
	@NotEmpty(message = "差标名称不能为空")
	private String title;
	/**
	 * 差标编号(唯一键)
	 */
	@NotNull(message = "差标id不能为空")
	private Long id;
	/**
	 * 岗位范围 id
	 * 当前公司+指定范围（指定范围包含：部门、岗位、员工），默认：当前公司
	 */
	@NotEmpty(message = "岗位范围不能为空")
	private String jobScopeId;
	/**
	 * 组织id
	 **/
	@NotEmpty(message = "orgId不能为空")
	private String orgId;
	/**
	 * 价格管控
	 */
	@NotNull(message = "价格管控不能为空")
	private PriceControlVO priceControl;

	/**
	 * 车型管控
	 */
	@NotNull(message = "车型管控不能为空")
	private ModelControlVO modelControl;
	/**
	 *
	 */
	//@NotNull(message = "城市管控不能为空")
	private CityControl cityControl;

    /**
     * 产线管控（E表示开启，N关闭）
     */
    private String productSwitch;
}
